home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 13 - 1997 (partial) / 13.04 Apr 97 / OpenDocExtentions / SelectSOM / InputFiles / GetNameExt.idl next >
Encoding:
Text File  |  1996-06-20  |  1.8 KB  |  84 lines  |  [TEXT/MPS ]

  1. /*------------------------------------------------------------------------------
  2.     File:        GetNameExt.idl
  3.  
  4.     Contains:    Palette interface
  5.  
  6.     Written by:    Sue Dumont
  7.                 Andrey Dolgachev
  8.  
  9.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  10. ------------------------------------------------------------------------------*/
  11.  
  12. #ifndef _GetNameExtENSION_
  13. #define _GetNameExtENSION_
  14.  
  15. #ifndef _EXTENSN_
  16. #include <Extensn.idl>
  17. #endif
  18.  
  19. #ifndef _SELECTPARTVERSION_
  20. #include "SelectPartVers.h"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Classes used by this interface
  25. //==============================================================================
  26.  
  27. interface     ODPart;
  28. interface     KSS_SelectPart;
  29.  
  30. //==============================================================================
  31. #pragma somemittypes on
  32.  
  33. const ODISOStr kGetNameExtension = "Apple Computer:Extension:ScriptPalette";
  34.  
  35.  
  36. #ifdef __PRIVATE__
  37. //==============================================================================
  38. // Implementation Types
  39. //==============================================================================
  40.  
  41. #endif 
  42.  
  43. //==============================================================================
  44. // som_SESettingsExtension
  45. //==============================================================================
  46.  
  47. module KSS
  48. {
  49.     interface GetNameExt : ODExtension
  50.     {
  51.         void             GetName();
  52.         
  53. #ifdef __SOMIDL__
  54.         implementation
  55.         {
  56.             majorversion = somClassMajorVersion;
  57.             minorversion = somClassMinorVersion;
  58.             
  59.             functionprefix = GetNameExt__;
  60.     
  61.             override:
  62.                 somInit,
  63.                 somUninit,
  64.                 InitExtension,
  65.                 Acquire,
  66.                 Release;
  67.             releaseorder:
  68.                 GetName;
  69.     
  70. #ifdef __PRIVATE__
  71.             passthru C_xh =
  72.             "class KSS_SelectPart;";
  73.         
  74.             KSS_SelectPart        fOwner;
  75. #endif 
  76.         };
  77. #endif
  78.     };
  79. };
  80.  
  81. #pragma somemittypes off
  82.  
  83. #endif
  84.